//
//  WSsearchController.m
//  LazyCat
//
//  Created by jike on 16/6/8.
//  Copyright © 2016年 zhanshu. All rights reserved.
//

#import "WSsearchController.h"

@interface WSsearchController ()

@end

@implementation WSsearchController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setUpMainView];
}
- (void)setUpMainView {
    [self initNav:@"搜索" doBack:YES];
    UIWebView *mainWebV = [[UIWebView alloc]initWithFrame:CGRectMake(0, 64, ScreenWidth, ScreenHeight - 64)];
    NSURL *url = [NSURL URLWithString:@"http://210.14.79.98/prodSearch"];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [mainWebV loadRequest:request];
    [self.view addSubview:mainWebV];
}

@end
